module.exports = {
  //...
  externals: {
    electron: 'require("electron")',
  },
};
